package com.qd.panda.gas.discount.autohome.req;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.qd.common.sys.domain.entity.log.SendLogDTO;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * 关联订单优惠
 *
 * @author sjk
 * @create 2022-11-15 10:21
 * @since 1.0.0
 */
@Data
@Accessors(chain = true)
public class OrderDTO {
    @JsonProperty("order_no")
    private String orderNo;
    /**
     * 日志信息
     */
    @JsonIgnore
    private SendLogDTO sendLogDTO;

    public void freeData() {
        this.orderNo = null;
        //不清空sendLog
    }
}